package com.lz.demo10;

/**
 * @ClassName Bee
 * @Description 蜜蜂类
 * @Author 2214361854
 * @Date 2022/5/28 15:26
 * @Version 1.0
 */
public class Bee extends Insect implements FlyAnimal {
    @Override
    public void fly() {
        System.out.println("蜜蜂飞啦~");
    }

    @Override
    public void spawn() {
        System.out.println("蜜蜂的产卵数为：" + eggNumber);
    }

    public void makeHoney() {
        System.out.println("蜜蜂在产蜂蜜~");
    }
}

